import serve from "./serve";

const http={
	get(url,data){
		return serve(url,'GET',data)
	},
	post(url,data){
		return serve(url,'POST',data)
	}
}
export default http